<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test.js"></script>
<script src="../resources/accessibility-helper.js"></script>
</head>
<body>

<div id="container">
<table summary="table">
    <thead>
    </thead>
<tr><td>1</td><td>2</td></tr>
</table>
</div>

<p>End of test</p>
<p id="description"></p>
<div id="console"></div>

<script>
    description("Construct accessibility objects for a table with an empty thread tag. This can cause a crash.");

    if (window.accessibilityController) {
        buildAccessibilityTree(accessibilityController.accessibleElementById('container'), 0, 0, ['AXColumn', 'AXTableHeaderContainer']);
    }

</script>

</body>
</html>
